package com.lsht.system.domain.siwei;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lsht.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 点位管理对象 siwei_point
 *
 * @author zyc
 * @date 2024-08-14
 */
@Data
public class SiweiPoint {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 分组ID
     */
    @ApiModelProperty(value = "分组ID")
    private String groupId;

    /**
     * 点位名称
     */
    @ApiModelProperty(value = "点位名称")
    @Excel(name = "点位名称")
    private String pointName;

    /**
     * 点位地址
     */
    @ApiModelProperty(value = "点位地址")
    @Excel(name = "点位地址")
    private String pointAddress;

    /**
     * 点位状态(0正常 2故障 3报警)
     */
    @ApiModelProperty(value = "点位状态(0正常 2故障 3报警)")
    @Excel(name = "点位状态")
    private String pointStatus;

    /**
     * 点位类型（预留）
     */
    @ApiModelProperty(value = "点位类型")
    @Excel(name = "点位类型")
    private String pointType;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createUser;

    /**
     * 点位图标
     */
    @ApiModelProperty(value = "点位图标")
    private String pointIconId;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    @Excel(name = "经度")
    private String lng;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    @Excel(name = "纬度")
    private String lat;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "设备id")
    private String deviceId;
    @ApiModelProperty(value = "时间数组(条件查询使用)")
    private List<String> date;

    private String beginTime;

    private String endTime;

    @ApiModelProperty(value = "点位图标地址")
    private String pointIconUrl;

    @ApiModelProperty(value = "点位图片")
    private String pointImgUrl;

    @ApiModelProperty(value = "用于接收包含Base64字符串的请求体")
    private String image;

    @ApiModelProperty(value = "所属区域")
    @Excel(name = "所属区域")
    private String region;

    @ApiModelProperty(value = "设备名称（大屏展示使用）")
    private String deviceNumber;

    @ApiModelProperty(value = "检查单位")
    private String inspectUnit;

    @ApiModelProperty(value = "检查/排查日期")
    private String inspectDate;

    @ApiModelProperty(value = "责任单位")
    private String responsibilityUnit;

    @ApiModelProperty(value = "隐患等级")
    private String hazardLevel;

    @ApiModelProperty(value = "位置")
    private String address;

    @ApiModelProperty(value = "隐患描述")
    private String hazardDescription;

    @ApiModelProperty(value = "整改期限")
    private String rectificationDate;

    @ApiModelProperty(value = "整改情况")
    private String rectificationTerm;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "登录账号")
    private String loginName;

    @ApiModelProperty(value = "手机号码")
    private String phonenumber;

    @ApiModelProperty(value = "所属区域区段")
    @Excel(name = "所属区域区段")
    private String regionSection;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "大屏根据，年，季，月入参(0年，1季，2月度)")
    private Integer parameterType;

    @ApiModelProperty(value = "记录类型（1巡检 2维修 3查看异常 4隐患）")
    private Integer detailsType;

    @ApiModelProperty(value = "部门/项目ID")
    private Long deptId;

    @ApiModelProperty(value = "存放部门ID集合，后端条查使用")
    private List<Long> deptIdList;

    @ApiModelProperty(value = "点位显示（0显示 1隐藏）")
    private Integer showHidden;



}
